package com.sharding.jdbc.mapper;

import com.sharding.jdbc.domain.User;
import org.apache.ibatis.annotations.Mapper;

/**
* Created by Mybatis Generator on 2020/08/26
*/
@Mapper
public interface UserMapper {
    /**
     *
     * @mbg.generated 2020-08-26
     */
    int deleteByPrimaryKey(Long userId);

    /**
     *
     * @mbg.generated 2020-08-26
     */
    int insert(User record);

    /**
     *
     * @mbg.generated 2020-08-26
     */
    int insertSelective(User record);

    /**
     *
     * @mbg.generated 2020-08-26
     */
    User selectByPrimaryKey(Long userId);

    /**
     *
     * @mbg.generated 2020-08-26
     */
    int updateByPrimaryKeySelective(User record);

    /**
     *
     * @mbg.generated 2020-08-26
     */
    int updateByPrimaryKey(User record);
}